add some keystone functions