[Yhc] Adding Custom Primitive functions