finished the rest of the script