updated for Laravel 4.1
updated for Laravel 4.1