my version of the script