code smell #try