added rpc and DB actions