Added styles for changing color and added comments.