adding support for forward command