corrrect the code about perform evaluation