changed output for bar animation