begin to sep api and interface