updated evaluation functions