paperclip added functions