Finished evaluate function