a little schemish thing in python