first trigger class working