minor performance enhancement