compile-able, but not tested sequential search