parts of bad code