better way to make a list