added general tasks functionality