added networking, core data