move task define to defines ns