changed selector to something more general