pulling out database shit to DBManipulation