added pseudocode for crawler