Removed old API view function