implemented focusing