conditional operator format adjusted.