adding direct method