bug in name: tlags instead of tflags