Network code almost finished...