The bikes stay upright because the tires fit snugly between the wooden slats. This DIY bike rack by @hamsterwheelbikerepair is made with just wood and screws! The diagonal pieces hold the bike tires.