Changes for creating new graphs