Btw, I'm very cautious of ```and``` in ruby and always use ```&&``` for ```if```.