adding a stop marker counter... and I added a try catch to catch the error where we crash based on nullpointer or illegalargument for the bus marker........