Understanding the genesis of bad credit