Changed pin to 6