add Position function to get current time position
add Position function to get current time position