added connectDB() to __construct