An example code or at least mentioning that it's your own method that you're creating yourself wouldn't hurt.