added classes to grid