finished getting app to work