make IDEA shut up, doesn't like preconditions
tidy