a program that works but does not work!