added -L when needed