replace conditionals with defunct