automatize pattuplization