a small performance improvement