Thanks! program works beautifully now