added (required ?) default case to switch clause