Basic program implemented