added weight map