Rough version of grid working