add animation class and seq diag