added painting animation