code for evaluator added, it compiles but havn't tested it yet