extract get_contract