change T
butter function modification