Simplified function name
Replaced pipeline with regular form