Embracing failure as a learning opportunity