add programmatic examples - fixes