added a focus directive