fixed crossedgratings, added hvgratings