remove grid code, never ended up using it