Streamline code for flagging TTL events