work on grid directive style