trying my shavite optimization from the past