added share contract and search