function try