added some test code to worksheet