now logging warnings to stderr