implemented node style apply