removed unnecessary isBasicTypes and isInterval methods