Grid method as attr
horizontal and vertical method