changed pin controller so pins load in reverse chronological order