partial script for hw1