Added a dynamically changing pen color