updated attributes to be final if they could