implementing auto forwarder