add interface in view.php