changed weight for log