adding CSS selector handling for mappings to a number of functions