extracting interfaces