example project and some bug fixes