fixed a few bugs and added detailed description task