networking looks nice now
constructor changed
using the new constructor