Black wire connected to hot, red connected to load, neutral and ground pig tailed in, yellow wire uses the old traveller to connect to the keypad. Ground and neutral pigtailed in on the keypad, white traveller then connects to yellow on the keypad. Load wire from APD connects directly to the black wire(actual load wire) in the keypad box.