add conditional for auto colour