now compiles, now to work on networking