commit 3 : working fine for searching int element