tidy of code