separate function for adding ll elements