add logging
use more instead device