added 2 new rpc calls