make things more memory efficient