a try except would be wiser