implement makeKey() (issue #3)