serializer extended - switch