wrote a program