code for debug and network for 2013