working code with SSE