test program in separate file
eof bug