removed lazy database connection