backwards-compatible wrapper