coin changes partially implemented