changed implementation of bomb sweeper