defined constants, added preloading for coin image