inpired by a client, turned into an Arlington Ruby coding challenge