moved program numbers out of search for speed