add checking
Store pathway for both independent and dependent vars