setting the max