redid everything with new representation... now need to rerun the examples and test everything