prepare to make add_freebond_to_atom func