an example one solution with variable D​