added course editing and commented some code