extended sesame part and addes shape serialization