array contains and print array