Added code to save coins