optimizing speed,little