evaluation function improvements