Refactoring - checkpoint. Sequence is compiling and at least working to a degree.