added classical approach graph assignment