optimize a little.