Moment is assigned to the wrong variable.