fixed: bad syntax for parsing
added: some code documentation