before adding paperclip gem