Add gold operation.
fix conflicts.