implemented "trail" mode