make a check to see if we can use lwp