added idiot guard to rate