initial scripts for hw3.3