added some test procedures