improving the db design