Implemented a simple example without dependency injection