removed try and except