establishing a serializer