How to create a program