updates to master for graphs