removing arraysearch