removed unecessary try except