Added gold collection functionality.