Fewer function calls