Humm , i will take a look how to do it as i'm qutie familar with enum type indeed.