added a testing function to iNZight