added D to return parameters