Implementation of the tasks