added order and get results functionality