Changed function to f_ prefix