add queryframe, implement load design