everything working except DatabaseLoader inheritance