adds timer checking and result retrieving