added paperclip stuff