a somewhat working application