add spec for only interface function