demo code smell