net example, refactor WIP