added rpc calls for targets