added networking. buggy as hell though