pin color according to status