a working but very fragile app