adding comments and making small changes in 4, partly done but stopping for now