compressed interface and wrapper and renamed to api