Added more functions for the list manipulation.