fixed average variable by adding Number