db init and tables works