Had some fun with ruby :D