fixes hill climbing