example code explains extension