took out some vestigial code form example