Solved several tasks