changed DataBaseService method bodies