ref chain