How can a software manager fix a team that is writing bad code?