added list and stack