implementing css selector