more work. rm was almost working then messed it up