implemented focus