add simple performance enhancement