implement paperclip