just made it compile so we can work , smf please fix (nw)