Attempt at list optimizations