added paperclip for photos