renamed selected to focus