removed unused packages; updated others. Improved optional forms of bucket search