Added max in eval