lhunath 1422891297 learn #redirect function