simpler API (remaining backwards compatible)