Added returns in parser and fixed print