changed function return from void to trigger