begin of api for buses