reduce amount of required code for list formation
I don't know what these changes are supposed to accomplish but somebody told me to make them.