Added Database working class

so why we need a condition which is always true?