useful script for testing pa1