12. Writing your own extension