[T1] moved function up