new design for query page