working on function framework -- switching to args/parameters arrays instead of maps.