add flexible grid framework