forgot this
scripted update of code from master at c97ee4e forgot this