added all errors correctly, need to check weights sys