added partition table and db