tidy things up