make program file using the do block