pull out logging