refactored out tasks