Police search for motive in mass shooting