separate method
clean db-access