basic paperclip implementation