adding some stuff to make coin pictures work