added posibility to change the bahavior after getting triggered