removed is_in() function