Understanding and preventing violence