Following rubytutorial book