working on flex grid