extra output options work
removed unnecessary lexer and regex stuff