added ds class with some methods