added text fields for weight inputs