worked wit paperclip plugin