data and setting from corrected code