added Focus function