Added querySelector function