slim get-adapter func