changed  linear gradient to account for higher max values