adds event for return being hit