modified src by tan