changing searchByKey