Added find bus function