Lot's more pep-8 errors
changed shadowed type to sym_type