small performance upgrade