common logic interface design