improved animation with command classes