added function 11 in array lib passing to main code