"deleted unnecessary nil check"