using `l` for a variable is not a good practice.
please use `length` instead i just do not know where is
can you see the difference between:
`1>0` (always true) and `l>0` ?