fixing bugs, wrote readme