db.js contains level, 3 level enums