i implemented public function video 29/30 in my database.php