added lists for materials and phases / cleaned code