Refactored push list on stack.