work on building graphs from different time periods