added trail option