added focus events