update the interface to return a string and int