Transfered MAX to Helper and renamed it maximum