implemented weight toggle