first version of the script. Working with the basics