refactoring to rename Keyper to Bag