added frame for parsing, call it from repl