semi-working basic app