bad code scale