added writing red dot.