changed list to grid