Finished basic parts of exercise