added bounded search