Fixed pins issue. Array added