check each time defining T