why do you use a try except around this?