Improved storing of results