now using a tasks hash