refactored to remove an unnecessary line