Forwarding checking code

Works perfectly