small progress with redirects, not working yet