add get ideal times func