add error and log info!