reflection for both ends