updated to use toastr