Create custom procedure implemented