added getContracts operation