weight and chars for assign 4