switched css parser and updated css selection methods