The Singapore government manages inter-racial and religious tensions carefully through a variety of legal avenues and community efforts. Laws against hate speech and actions that threaten racial or religious harmony are applied judiciously on a case-by-case basis. While the internet has made tensions harder to control, the government recognizes it cannot police all online exchanges and aims to shape public sentiment through impartial enforcement of laws as well as empowering community groups to resolve issues. Fostering understanding through personal relationships is seen as most effective in countering extremist views.