example app running, still messy code