neaten up 'random square' methods