Created get DS functions function