Updated: serial optimized.