custome code for POMC