Removing testing function.