working with simple json copies
working recursively
adding function functionality