A rewrite of LOSAP to be more comprehensive