database startup check, comments added