parameter added to database.js