fixing bugs. some instructions added