Commented function with error