first attempt for serializer and demo