average usage calculation added