Add logging statements to help debug if needed