max salary is accesped incase minimum is not present