Expanded on basic interpreter.