implement draft of clap service