implemented 'paperclip' feature