renamed search to isIn and added levels attribute