added changes to suit needs of balap