first try of input array