added list functions.