initial code for script
some documentaiton