fork from https://bitbucket.org/neuralassembly