Code working fine. Cache just in the optimization.