implemented demo animation