get results as well as parameters