some random ruby crap i found lying about