Adding api example for coersion