implemented quote
added comments