You are not using the 'db' variable.