stripped out disabled replay code
stripped out disabled portal code