added evaluation (still sume runtime errors to be resolved