serializer added with samples