implemented weight and chars
first code submission