Quick project for friend, based on his python-prototype-specification