worked on the triggers : finished an error trigger