built in try catch blocks so for testing without a controller, catch blocks need to be populated