added evaluation for errors and stuff