basic diameter method