simple script to gen instances
log methods/statements for debugging