remove unused elements, begin attempt to debug