changed all `*T' to `*const T'