deleted useless code
we don't need to check maps and lists