added input D