removing redundant check per PR feedback