added first last and single functions to the list