Implementing the MaximumTask