made past, today, future links hashes instead, added better handling of hashes