making conditional more clear