smallfix: extracting a interface