working fire hw trigger function