Implemented trishot logic