reverted bad code