finally have app working