Add function for append list