added --reverse capabilites