move to statis conts insted of #define