add a example of the interface in the README