added getutilityfunction
added thirdgamelogic
fixed conflict