changes to rbkeys and a view