changed resultmap to supermap