changed podlist arg to list to be more generic