added like subclass for median like query