Welcome! Please provide a minimal (non-)working example (preferrably copy-pastable). In your code, we don’t know what L_time_bC is and there is no indication what’s going wrong.
Please read this for more information on how to best help us to help you: