better version for paperclip