Remove testing function