implement  carrier_wave gem functionality