Finished implementation core. Running for sanity cheks