missing piece of code from the mainstream