database.js works