add bond function for molecule create