use host pointer