updated hill climbing