Function max added because I need it