Implemented threshold and kink