checking in the T flag part