made the building blocks in ruby