revert testing code