fixed indentation, added comments, fixed string literal