as two men at the top of the wall finally came to the edge with a new rope and shouted down frantically , ty was able to pull himself over , slide his toes onto something solid , and press close to the wall .