started implementing interface for rpc calls.