Do I need to initialize the max to something else? Setting it to zero doesn't work either. Don't know how to do this without making another method.