start modifying the main body code of WalshHS