updated to run on systematics