add contract tool