added return and results to code.