removed util function t because masking tranpose