Commit with a structure