making wrapping task into it's own class