Added laravel functions