useless program patetrn