removed bad code