added new graph code (for testing)