little tidy of conditional