working net implementation.