finished program loop and 30x loop