Use switch statements instead