use the correct server-side function