minor refactoring - naming difference for sequence vs map