added index and serializer