trying to improve parser; better formula output