write to file
K=100