logging -> better to fail