something is wrong with graph types