Fourth assignment edit: horizontal center