Remove try and except