added code for bolts