developed some testing code