added util function to add a key to every map in a sequence
improved comments around percept