removed old static serving function