output positions in seconds