When does covalent bonding takes place?