implementing animated rendering