conditionals industry

making code neat