removed unneeded hourly function