remove unnecessary output
added documentation