adding scratch code for informal testing and plotting