added serializer base