Changed register from parameter to option