Bad approach that did not work.