removed a switch statement case and added a new one