added functionalities to few functions in data helper class