initial commit
modified code to use maps