lag function
add coumn with map