condition doesn't need to be checked twice