some misc memory things