memory optimization attempt 1
renaming