updating to the new style