added spaghetti code example to modular demo