Adding rough implementation, using cubes for now