rem typeof redundancy