The present invention provides new compounds. The compounds are useful as CDK5 inhibitors, and accordingly they can be included in pharmaceuticals compositions for treating any type of pain, inflammatory disorders, immunological diseases, proliferative diseases, infectious diseases, cardiovascular diseases and neurodegenerative diseases. formula (I).