demo app with code generated