init_db was potentially returning an int from a void