moved selectors to variables for easier reuse