Speedup due to Error checking in between 2