if(source==null){
startAtom = getBuilder().newInstance(IAtom.class, chemModelRelay.getController2DModel().getDrawElement(), start );
}else{
startAtom=source;
}
phantoms.addAtom(startAtom);
//make atoms and bonds as needed
for(int i=0;i<numberofbonds;i++){
IAtom nextAtom = getBuilder().newInstance(IAtom.class, chemModelRelay.getController2DModel().getDrawElement(), new Point2d(startAtom.getPoint2d().x+bondLength, startAtom.getPoint2d().y));
phantoms.addAtom(nextAtom);
phantoms.addBond(getBuilder().newInstance(IBond.class, startAtom, nextAtom, IBond.Order.SINGLE));