Fix bug and add example network