added rx mode