worked with image uploads using paperclip