adding redirect ability