imported but did not convert security API methods