small adds of old code