added out_forward