write a simple program