training of data done