sometimes it was necessary to repeat the process several times