Based on input from Martin.