use in_array to disinguish