Made sure it worked and handled exception