replaced all\? Type(x) == 'object' etc. with numeric constants (runs now with)