renamed confusingly named function