made api backwards-compatible with old syntax