working addlocoption