added maxed out feature for rate
fixed maxout stuff