redirect now take two arguments