refactoring try still not working + doc