Program 6 work