Changed to switch statements