neuon network function drafted, commit to verify code on other machine