added component database functions