Removed bad code