add paperclip functionality