recognize selected attribute