bit of tidy on search