added host adapter as arg