moved bond to class