Commit exercise solution