General debugging

Everything is functional!