format code
accept multiple class_ids in children query