simple api, use it directly