In that case would it be reasonable to replace both ifelse statements with swtich statements?