Fixed evaluation code to take strings and return strings