Finished task21-3 (not formatted)