Can now write positions in seconds