add method likeArray, boolean