lots of gridding for framework