Revert "smthing important about api"

This reverts commit 3213ddba334d57dcd569df87c924fa1741c81ee9.