refactored the task into an own class