added increment function for ll