Added function parse()