added different colors for different status of the unit