trained network working, adding interface