The method allows to obtain images of surface of samples (including the non-conductive samples) using both cantilevers and Qplus sensors. In the latter mode STM images can be obtained sumultaneously with AFM imaging with atomic resolution.