weight validation logic done