Stav dette: A modified structural model for credit risk