more logging, still need errors