work in progress on redirect