Compiles, last needs to be fixed
Improvements to last (compiles but does not yet pass unit tests)
Works as expected