comperecent graphs working