Debugging
Fixed compile errors