Can you show what you've tried? We can't exactly read minds, so if we can't see it, we can't tell what's wrong.
Make an example function.