added a default case to the switch