creating pattuple list