add color
calc weight