reversed decision to not add new dict entries to local dict, fixed resulting  syntax error