improved space usage