Covalent compounds are made up of: