add list functionality