added list functionality