added comments & string conversion