changed weights to float