removed passing of dict as a default