adding attribute code into current version of keystone