chgs
mrgd
rewrite without dicts in function def
now with enrolling dicts in the function arguments