first working draft version using laravel