t block function added