refactoring function names. tasks now know if they passed or failed