Added "add to list" function