Finished tutorial3

fixed procedures