add tag to separate vertical and horizontal group