now returns L, R and P