make the API for more nice-nice