changed weight from integer to decimal