added bytes-only methods