added a method for querying current focused item