cleaned up UI node sample