my first attempt at a script