speed up version with no reg!