added first versions of graphs