more helper functions
reverse back of forward packet