a prototype for preparables in python