doing it for bisect

change stuff for bisect command