updates to add a function to the interface