my first ruby app after alot of frustrations