changed weights in tk