added getType(true)