database support and check if declarations exist