this program is slow very slow it is unbearable