First implementation for end evaluation