Adding try statement in order to try to see what the error is