trigger on select + attributes