shortened the script