extracting interface from a TO class