Title: Studies on electronical properties of defects in silicon and gallium arsenide