adding formatHashrate helper