Update SQL statement and variable name.
Move the default interest code to the list.
Remove some unused code.